<template>
</template>

<script setup lang="ts">

//路由对象
import {useRoute} from "vue-router";
import {SET_TOKEN} from "@/utils/user.ts";

let $route = useRoute();
// console.log("qruey",$route.query)//用户信息

// 持久化用户信息
SET_TOKEN(JSON.stringify($route.query));

// 路由组件代码执行 即 授权成功,隐藏静态页面
let html:any = document.querySelector('html');
html.style.display = 'none';

</script>

<style scoped lang="scss">

</style>